GET
/
v1
/
customers
/
{id}
/
payment-methods
Get payment methods
curl --request GET \
  --url https://api.hyperline.co/v1/customers/{id}/payment-methods \
  --header 'Authorization: Bearer <token>'
{
  "meta": {
    "total": 1,
    "taken": 1,
    "skipped": 0
  },
  "data": [
    "<any>"
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

Response

200 - application/json
meta
object
required
data
(Card · object | Card (errored) · object | Direct Debit · object | Direct Debit (errored) · object | Stripe Link · object | Stripe Link (errored) · object)[]
required

List of PaymentMethod.